package com.ossjk.asset.system.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Device implements Serializable{
	
	int id;
	
	int ogid;
	
	int dtid;
	
	String code;
	
	BigDecimal residual;
	
	int status;
	
	BigDecimal original;
	
	Date proddate;
	
	int creator;
	
	Date createtime;
	
	int buyer;
	
	Date buydate;
	
	String sno;
	
	Date crtm;
	
	Date mdtm;

	
	

	
	

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getOgid() {
		return ogid;
	}

	public void setOgid(int ogid) {
		this.ogid = ogid;
	}

	public int getDtid() {
		return dtid;
	}

	public void setDtid(int dtid) {
		this.dtid = dtid;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public BigDecimal getResidual() {
		return residual;
	}

	public void setResidual(BigDecimal residual) {
		this.residual = residual;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public BigDecimal getOriginal() {
		return original;
	}

	public void setOriginal(BigDecimal original) {
		this.original = original;
	}

	public Date getProddate() {
		return proddate;
	}

	public void setProddate(Date proddate) {
		this.proddate = proddate;
	}

	public int getCreator() {
		return creator;
	}

	public void setCreator(int creator) {
		this.creator = creator;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public int getBuyer() {
		return buyer;
	}

	public void setBuyer(int buyer) {
		this.buyer = buyer;
	}

	public Date getBuydate() {
		return buydate;
	}

	public void setBuydate(Date buydate) {
		this.buydate = buydate;
	}

	public String getSno() {
		return sno;
	}

	public void setSno(String sno) {
		this.sno = sno;
	}

	public Date getCrtm() {
		return crtm;
	}

	public void setCrtm(Date crtm) {
		this.crtm = crtm;
	}

	public Date getMdtm() {
		return mdtm;
	}

	public void setMdtm(Date mdtm) {
		this.mdtm = mdtm;
	}


	@Override
	public String toString() {
		return "Device [id=" + id + ", ogid=" + ogid + ", dtid=" + dtid + ", code=" + code + ", residual=" + residual
				+ ", status=" + status + ", original=" + original + ", proddate=" + proddate + ", creator=" + creator
				+ ", createtime=" + createtime + ", buyer=" + buyer + ", buydate=" + buydate + ", sno=" + sno
				+ ", crtm=" + crtm + ", mdtm=" + mdtm 
				+ "]";
	}
	
	
	
}
